#include "stdafx.h"
#include <iostream>
#include <ctime>
#include <cstdlib>

int main() {

	int enemy1 = 0;
	int enemy2 = 0;
	int enemy3 = 0;
	int enemy4 = 0;
	int item1 = 0;
	int item2 = 0;
	int item3 = 0;
	int item4 = 0;

	char userInput;
	std::cout << "Random room layout generator for game rogue" << std::endl;
	std::cout << "Enter room number or e to exit:" << std::endl;
	std::cin >> userInput;
	while (userInput != 'e') {
		srand(int(userInput));
		enemy1 = rand() % 100;
		enemy2 = rand() % 100;
		enemy3 = rand() % 100;
		enemy4 = rand() % 100;
		item1 = rand() % 100;
		item2 = rand() % 100;
		item3 = rand() % 100;
		item4 = rand() % 100;
		std::cout << "Enemies" << std::endl;
		std::cout << enemy1 << std::endl;
		std::cout << enemy2 << std::endl;
		std::cout << enemy3 << std::endl;
		std::cout << enemy4 << std::endl;
		std::cout << "Items" << std::endl;
		std::cout << item1 << std::endl;
		std::cout << item2 << std::endl;
		std::cout << item3 << std::endl;
		std::cout << item4 << std::endl;
		std::cout << std::endl;
		std::cout << "Enter room number or e to exit" << std::endl;
		std::cin >> userInput;
	}


	return 0;
}
